package com.jyhs.maven.filter;

import javax.servlet.*;
import java.io.IOException;

public class Filterdao implements Filter {
    public void init(FilterConfig config) throws ServletException {
        // 初始化代码
    }

    public void destroy() {
        // 清理代码
    }

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException {
        // 过滤逻辑
        chain.doFilter(request, response);
    }
}